package com.chucang.shucang.pms.feign;

import com.chucang.shucang.common.base.utils.R;
import com.chucang.shucang.pms.feign.vo.NFTCreateReq;
import com.chucang.shucang.pms.feign.vo.NFTOperateDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author flitsneak
 * @email flitsneak@gmail.com
 * @date 2022/10/24 23:26
 * @description
 */
@FeignClient(contextId = "usr-ttp", value = "shucang-ttp")
public interface TtpService {

    @PostMapping("/ttp/nft/createNFT")
    R<NFTOperateDTO> createNFT(@RequestBody NFTCreateReq nftCreateReq);
}
